import request from "@/utils/request"

//仓储服务->普通货物操作->货物入仓->现场入仓->选择仓库
// export function getWarehouse(data:any, params:any) {
//     return request({
//         url: '/storage/zdspck/selectWarehouse1',
//         method: 'post',
//         data: data,
//         params:params
//     })
// }

//货物出仓->现场出仓->选择客户->仓库
export function getWarehouse3(data: any) {
    return request({
        url: '/storage/zdspck/selectWarehouse3',
        method: 'post',
        data: data
    })
}

//【仓储服务->数据总览->货物总览->仓库】/仓储服务->普通货物操作->货物入仓-仓库
// export function getWarehouse15(data:any) {
//     return request({
//         url: '/storage/zdspck/selectWarehouse15',
//         method: 'post',
//         data: data
//     })
// }

//仓储服务->货物出仓-仓库
export function getWarehouse23(data:any) {
    return request({
        url: '/storage/zdspck/selectWarehouse23',
        method: 'post',
        data: data
    })
}


//仓储服务->普通货物操作->货物入仓->【现场入仓->选择仓位】/【详细->新增货物->增加行->选择仓位】
export function getWarehouseInSelectPosition(data: any) {
    return request({
        url: `/storage/category/selectPosition/${data.spckid}`,
        method: 'post',
        data: data
    })
}

//仓储服务->普通货物操作->智慧云仓入仓->现场入仓->选择仓库
export function getWarehouse(data:any, params:any) {
    return request({
        url: '/storage/hwrc/selectWarehouse1',
        method: 'post',
        data: data,
        params:params
    })
}

//仓储服务->智慧云仓出仓-仓库
export function getCWarehouse23(data:any) {
    return request({
        url: '/storage/hwcc/selectWarehouse23',
        method: 'post',
        data: data
    })
}

//仓储服务->普通货物操作->智慧云仓入仓-仓库
export function getWarehouse15(data:any) {
    return request({
        url: '/storage/hwrc/selectWarehouse15',
        method: 'post',
        data: data
    })
}

// 车辆信息，不分页
export function storageCategoryCarInfoList(data:any) {
    return request({
        url: '/storage/category/carInfoList',
        method: 'post',
        data: data
    })
  }
  